#ifndef MISSILE_HPP
#define MISSILE_HPP

#include <SFML/Graphics.hpp>
#include "GameObject.hpp"

//isGood? isBad?

class Missile : public GameObject
{
	public:
		Missile(float x, float y, float vx, float vy, bool good);
		virtual ~Missile();

		void event(const sf::Input& inpt);
		void update(float dt);
		void show(sf::RenderTarget& wdw) const;

		bool good() const { return m_good; }

		void setPosition(const float& x, const float& y);
		const sf::Vector2f& getPosition() const { return m_skin.GetPosition(); }

	private:
		sf::Shape m_skin;
		float m_vx, m_vy;
		bool m_good;
};

#endif
